<header>
    <img src="<?= Yii::$app->user->identity->wechatUser->headimgurl ?>" alt="">
    <span><?= Yii::$app->user->identity->username ?></span>
    <span><?= Yii::$app->user->identity->package->package_name ?> : <?= date('Y-m-d H:i:s',Yii::$app->user->identity->vip_end) ?> 到期</span>
</header>